<template>
  <div class="app-container item-title">
    <div class="item-title-container">
      <div class="item-title-content">
        {{ title }}
      </div>
    </div>
  </div>
</template>
<script>
export default {
  name: "ItemTitle",
  props: ["title"],
};
</script>
<style lang="scss" scoped>
.item-title {
  display: flex;
  height: 80px;
  align-items: center;
  .item-title-container {
    position: relative;
    max-width: 820px;
    width: 100%;
    margin: 0 auto;
    border-top: 2px solid #d8d8d8;
    .item-title-content {
      position: absolute;
      top: -24px;
      left: 50%;
      background-color: #fff;
      transform: translateX(-50%);
      padding: 0 30px;
      color: #004e81;
      font-size: 38px;
      font-weight: 600;
    }
  }
}
</style>
